package com.chengzzz.mysite.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * (Source)表实体类
 *
 * @author 等什么柠檬君
 * @since 2020-08-24 14:26:50
 */
@SuppressWarnings("serial")
public class Source extends Model<Source> {

    private Integer sid;

    private String source;

    private String url;

    private Integer aid;



    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.sid;
    }
}